package Person;

public class PersonClassTest {
    public static void main(String[] args) {
        Person psn1 = new Person("Wang Xiaoer", 15);
        psn1.display();
        Person psn2 = new Person("Wang Xiaosan", 16);
        psn2.display();
        psn2.setName(psn1.getName() + "的弟弟");
        psn2.setAge(psn1.getAge() - 3);
        psn2.display();
    }
}
